<?php
return array(
	'cascade' => array(
		'profile', 
	),
	'formView' => array(
		'fields' => array(
			'baseInfo' => array(
				'type_id' => array(
					'class'=>'LinkageField', 
					'name'=>'goodsType', 
					'fields'=>array('type_id')
				)
			),
			'profile' => array(
				'id' => false,
				'goods_id' => false,
				'field' => array(
					'class'=>'LinkageField', 
					'name'=>'district', 
					'fields'=>array(
						array('profile.field',1)
					),
				),
				'desc' => array('class' => 'RichtextField', 'params'=>array('htmlOptions'=>array('style'=>'width:100%;height:200px'))),
			),
		),
	),
	
	'_import' => array(
		array('*', 'actions.edit//*'),
		array('formView.fields.baseInfo.*', 'actions.goods.edit//formView.fields.baseInfo.*'),
	),
);